// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import Vuex from 'vuex'
import router from './router'
import store from './store'
import services from '@/services/services'
import axios from 'axios'
import qs from 'qs'
import { $Api } from '@/services/api'
import common from '@/utils/common'
import ElementUI from 'element-ui'
import echarts from 'echarts'
// import 'element-ui/lib/theme-chalk/index.css'
import '@/style/element-variables.scss'
import 'normalize.css'
// import './assets/icon/iconfont.css'
import App from './App'

Vue.use(Vuex)
Vue.use(ElementUI)
Vue.use(echarts)
Vue.config.productionTip = false

Vue.prototype.$http = axios
Vue.prototype.$Api = $Api
Vue.prototype.$qs = qs
Vue.prototype.$services = services
Vue.prototype.$common = common
Vue.prototype.$echarts = echarts
/* eslint-disable no-new */
new Vue({
  el: '#app',
  store,
  router,
  components: { App },
  template: '<App/>'
})
